home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / et / et3_0-a1.lha / et3 / src / ManyOfCluster.h < prev    next >
C/C++ Source or Header  |  1992-04-27  |  975b  |  40 lines

  1. #ifndef ManyOfCluster_First
  2. #ifdef __GNUG__
  3. //pragma once
  4. #pragma interface
  5. #endif
  6. #define ManyOfCluster_First
  7.  
  8. #include "Cluster.h"
  9.  
  10. //---- ManyOfCluster -----------------------------------------------------------
  11.  
  12. class ManyOfCluster: public Cluster {
  13. public:
  14.     MetaDef(ManyOfCluster);
  15.     ManyOfCluster(int id= cIdNone, VObjAlign a= eVObjHLeft, Point g= gPoint0,
  16.                             SeqCollection *cp= 0);
  17.     ManyOfCluster(int id, VObjAlign a, Point g, char *, ...);
  18.     ManyOfCluster(int id, VObjAlign a, Point g, VObject *, ...);
  19.     ManyOfCluster(int id, char *, ...);
  20.     ManyOfCluster(int id, VObject *, ...);
  21.     void Control(int id, int part, void *v);
  22.  
  23.     void SetItem(int id, bool state);
  24.     void SetItemOn(int id)
  25.     { SetItem(id, TRUE); }
  26.     void SetItemOff(int id)
  27.     { SetItem(id, FALSE); }
  28.  
  29.     void SetAllItems(bool state);
  30.     void SetAllItemsOn()
  31.     { SetAllItems(TRUE); }
  32.     void SetAllItemsOff()
  33.     { SetAllItems(FALSE); }
  34.  
  35.     bool IsItemOn(int id);
  36. };
  37.  
  38. #endif
  39.  
  40.